package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 库存
 *
 * @author ruoyi
 * @date 2019-04-19
 */
public class TInventory extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	private  Long id;

	/** 条形码*/
	@Excel(name = "条形码")
	private String barcode;
	/** 饰品名称 */
	@Excel(name = "饰品名称")
	private String name;
	/** 门店 */
	private String deptId;
	@Excel(name = "门店")
	private String deptName;
	/** 品类 */
	private String category;
	/** 品种 */
	private String variety;
	/** 重量(g) */
	@Excel(name = "重量")
	private String weight;
	/** 标签价格 */
	@Excel(name = "标签价格")
	private String labelprice;
	/** 入库时间 */
	@Excel(name = "入库时间")
	private String indate;
	/** 登记者 */
	@Excel(name = "登记者")
	private String registrant;

	/** 有效(调配过程为无效)*/
	private Integer valid;

	/**是否销售，0：未销售   1：已销售*/
	@Excel(name = "是否销售", readConverterExp = "0=未销售,1=已销售")
	private String issale;
	/**是否已盘点：0：未盘点，1：已盘点*/
	@Excel(name = "是否盘点", readConverterExp = "0=未盘点,1=已盘点")
	private String isstocktaking;
	@Excel(name = "品类")
	private String categoryName;
	@Excel(name = "品种")
	private String varietyName;

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getVarietyName() {
		return varietyName;
	}

	public void setVarietyName(String varietyName) {
		this.varietyName = varietyName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setBarcode(String barcode)
	{
		this.barcode = barcode;
	}

	public String getBarcode()
	{
		return barcode;
	}
	public void setName(String name)
	{
		this.name = name;
	}

	public String getName()
	{
		return name;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public void setCategory(String category)
	{
		this.category = category;
	}

	public String getCategory()
	{
		return category;
	}
	public void setVariety(String variety)
	{
		this.variety = variety;
	}

	public String getVariety()
	{
		return variety;
	}
	public void setWeight(String weight)
	{
		this.weight = weight;
	}

	public String getWeight()
	{
		return weight;
	}
	public void setLabelprice(String labelprice)
	{
		this.labelprice = labelprice;
	}

	public String getLabelprice()
	{
		return labelprice;
	}
	public void setIndate(String indate)
	{
		this.indate = indate;
	}

	public String getIndate()
	{
		return indate;
	}
	public void setRegistrant(String registrant)
	{
		this.registrant = registrant;
	}

	public String getRegistrant()
	{
		return registrant;
	}
	public void setValid(Integer valid)
	{
		this.valid = valid;
	}

	public Integer getValid()
	{
		return valid;
	}

	public String getIssale() {
		return issale;
	}

	public void setIssale(String issale) {
		this.issale = issale;
	}

	public String getIsstocktaking() {
		return isstocktaking;
	}

	public void setIsstocktaking(String isstocktaking) {
		this.isstocktaking = isstocktaking;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("barcode", getBarcode())
            .append("name", getName())
            .append("deptId", getDeptId())
            .append("category", getCategory())
            .append("variety", getVariety())
            .append("weight", getWeight())
            .append("labelprice", getLabelprice())
            .append("indate", getIndate())
            .append("registrant", getRegistrant())
            .append("valid", getValid())
            .toString();
    }
}
